package cn.com.open.itembank.dto;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by lucky on 2018/1/31.
 */
public class CopyCourseModel {
    public CopyCourseModel() {
        this.targetCourseID = "";
        this.createOrgID = "";
        this.chapterRelation = null;
        this.appID = "";
        this.courseName = "";
        this.testPaperMap = null;
    }

    /**
     * 目标资源课程ID（使用共享的课程）
     */
    private String targetCourseID;

    /**
     * 所属机构ID
     */
    private String createOrgID;

    /**
     * 旧新章节对照关系
     */
    private Map<String, String> chapterRelation;

    /**
     * appID
     */
    private String appID;

    /**
     * 课程题库名称
     */
    private String courseName;

    /**
     * 旧新试卷对照关系
     */
    private Map<String, String> testPaperMap;

    /**
     * Gets target course id.
     *
     * @return the target course id
     */
    public String getTargetCourseID() {
        return targetCourseID;
    }

    /**
     * Sets target course id.
     *
     * @param targetCourseID the target course id
     */
    public void setTargetCourseID(String targetCourseID) {
        this.targetCourseID = targetCourseID;
    }

    /**
     * Gets create org id.
     *
     * @return the create org id
     */
    public String getCreateOrgID() {
        return createOrgID;
    }

    /**
     * Sets create org id.
     *
     * @param createOrgID the create org id
     */
    public void setCreateOrgID(String createOrgID) {
        this.createOrgID = createOrgID;
    }

    /**
     * Gets chapter relation.
     *
     * @return the chapter relation
     */
    public Map<String, String> getChapterRelation() {
        if (chapterRelation == null) {
            chapterRelation = new HashMap<>();
        }
        return chapterRelation;
    }

    /**
     * Sets chapter relation.
     *
     * @param chapterRelation the chapter relation
     */
    public void setChapterRelation(Map<String, String> chapterRelation) {
        this.chapterRelation = chapterRelation;
    }

    /**
     * Gets app id.
     *
     * @return the app id
     */
    public String getAppID() {
        return appID;
    }

    /**
     * Sets app id.
     *
     * @param appID the app id
     */
    public void setAppID(String appID) {
        this.appID = appID;
    }

    /**
     * Gets course name.
     *
     * @return the course name
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * Sets course name.
     *
     * @param courseName the course name
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * Gets test paper map.
     *
     * @return the test paper map
     */
    public Map<String, String> getTestPaperMap() {
        if (testPaperMap == null) {
            testPaperMap = new HashMap<>();
        }
        return testPaperMap;
    }

    /**
     * Sets test paper map.
     *
     * @param testPaperMap the test paper map
     */
    public void setTestPaperMap(Map<String, String> testPaperMap) {
        this.testPaperMap = testPaperMap;
    }
}
